package com.etc.pojo;

import lombok.Data;

/**
 * @author 杰哥
 * @Title: Cake
 * @ProjectName myssm
 * @Description: TODO
 * @date 2019/8/211:59
 */
@Data
/**
 * @id      编号
 * @name    名字
 * @price   单价
 * @number  数量
 * @desc    祝福语
 * @image   图片
 * @shopId  店铺id
 */
public class Cake {
    private int cid;
    private String cname;
    private int price;
    private int quantity;
    private String blessing;
    private String image;
    private int shopId;
    private Shop shop;

    public Cake( String cname, int price, int quantity, String blessing, String image, int shopId) {

        this.cname = cname;
        this.price = price;
        this.quantity = quantity;
        this.blessing = blessing;
        this.image = image;
        this.shopId = shopId;
    }

    public Cake() {
    }
}